﻿//    CMake Classifier:  Syntax coloring and highlighting Visual Studio Extension
//    Copyright (C) 2011 Steven Velez
//
//    This file is part of CMake Classifier
//
//    CMake Classifier is free software: you can redistribute it and/or modify
//    it under the terms of the GNU Lesser General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU Lesser General Public License for more details.
//
//    You should have received a copy of the GNU Lesser General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.

using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;

namespace CMakeClassifier
{
    internal static class CMakeClassifierClassificationDefinition
    {
        /// <summary>
        /// Defines the "CMakeCommand" classification type.
        /// </summary>
        [Export(typeof(ClassificationTypeDefinition))]
        [Name("CMakeCommand")]
        [BaseDefinition("identifier")]
        internal static ClassificationTypeDefinition CMakeCommandType = null;

        /// <summary>
        /// Defines the "CMakeVariable" classification type
        /// </summary>
        [Export(typeof(ClassificationTypeDefinition))]
        [Name("CMakeVariable")]
        [BaseDefinition("identifier")]
        internal static ClassificationTypeDefinition CMakeVariabeType = null;

        /// <summary>
        /// Defines the "CMakeSubstitution" classification type
        /// </summary>
        [Export(typeof(ClassificationTypeDefinition))]
        [Name("CMakeSubstitution")]
        [BaseDefinition("idenitifier")]
        internal static ClassificationTypeDefinition CMakeSubstitutionType = null;

        /// <summary>
        /// Defines the "CMakeOperator" classification type
        /// </summary>
        [Export(typeof(ClassificationTypeDefinition))]
        [Name("CMakeOperator")]
        [BaseDefinition("keyword")]
        internal static ClassificationTypeDefinition CMakeOperatorType = null;

        /// <summary>
        /// Defines the "CMakeAtVariable" classification type
        /// </summary>
        [Export(typeof(ClassificationTypeDefinition))]
        [Name("CMakeAtVariable")]
        [BaseDefinition("CMakeSubstitution")]
        internal static ClassificationTypeDefinition CMakeAtVariableType = null;
    }
}
